Skip to content

[Feature] 멤버 디테일 UI 작업#7

Merged
minneee merged 17 commits intodevelopfrom
feature/member_detail
Aug 12, 2025
Merged

[Feature] 멤버 디테일 UI 작업#7
minneee merged 17 commits intodevelopfrom
feature/member_detail

Conversation

@minneee
Copy link
Collaborator

@minneee minneee commented Aug 12, 2025

✨ 작업 내용

  • 멤버 디테일 뷰의 UI작업 했습니다.

📝 참고 사항

  • 뷰 작업을 한 파일에서 했는데 파일을 나누는 것이 좋을지... 고민중입니다. 어떤 방식을 추천하시는지 의견 있으시면 부탁드립니다!

Key Changes 🔥 (주요 구현/변경 사항)

  • UI작업에 필요한 Color 추가했습니다.

Checklist

  • 브랜치를 가져와 작업한 경우 이전 브랜치에 PR을 보냈는지 확인
  • 빌드를 위해 SceneDelegate 수정한 것 PR로 올리지 않았는지 확인
  • 필요없는 주석, 프린트문 제거했는지 확인
  • 컨벤션 지켰는지 확인
  • final, private 제대로 넣었는지 확인
  • 다양한 디바이스에 레이아웃이 대응되는지 확인
    • iPhone SE
    • iPhone 13
    • iPhone 13 Pro Max

@auto-assign auto-assign bot requested a review from Peter1119 August 12, 2025 02:26
@Roy-wonji Roy-wonji self-requested a review August 12, 2025 02:59
Copy link
Contributor

@Roy-wonji Roy-wonji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minneee 수고 하셨습니다 코멘트 단거 확인 해주시면 될거 같습니다

var body: some View {
VStack(spacing: 20) {
MemberProfileView(profile: MemberProfile())
ScrollView {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굳이 vstack 안쓰고 내부안에 스크롤 할 방식을 선택 할수 있습니다

}
}

struct StrengthsView: View {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minneee 이건 뷰를 분리 하는거 어떨가요 ??
아님 큰 뷰가 아니면 viewbuilder 로 바꾸는거 어떨까요 ?

}
}

struct introductionView: View {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minneee 이건도 비슷 한거 같아요


import SwiftUI

struct MemberProfile {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minneee 좋습니다 !

Copy link
Collaborator

@Peter1119 Peter1119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 ~!

Comment on lines +164 to +185
struct CardStyle: ViewModifier {
func body(content: Content) -> some View {
content
.padding(15)
.frame(maxWidth: .infinity, alignment: .leading)
.background(
RoundedRectangle(cornerRadius: 16)
.fill(.staticWhite)
)
.overlay(
RoundedRectangle(cornerRadius: 16)
.stroke(.borderInactive, lineWidth: 0.5)
)
.shadow(color: .shadowDefault, radius: 3, x: 0, y: 1)
}
}

extension View {
public func cardStyle() -> some View {
modifier(CardStyle())
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 card style modifier 좋네요 ~! 이건 design system 에 들어가도 좋을 것 같아요

Comment on lines +123 to +129
VStack {
Text(profile.collabStyle)
.pretendardFont(family: .Regular, size: 13)
.foregroundStyle(.textSecondary100)
.lineSpacing(5)
}
.cardStyle()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 VStack으로 감싸지 않아도 되지 않을까요 ??

Comment on lines +81 to +87
VStack {
Text(profile.introduction)
.pretendardFont(family: .Regular, size: 13)
.foregroundStyle(.textSecondary100)
.lineSpacing(5)
}
.cardStyle()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기도 VStack으로 감싸지 않아도 되지 않을까 싶습니다 ~!

@minneee minneee added the 🎨 디자인 UI 디자인 작업 label Aug 12, 2025
@minneee minneee merged commit f689fa9 into develop Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 디자인 UI 디자인 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants